import java.util.Scanner;

public class OperatorTest {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数");
        int num = sc.nextInt();
        int i = 1;
        while(num > 0) {
            System.out.println("第" + i++ + "位是" + num % 10);
            num /= 10;
        }
    }
}
